home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
An Invitation to the Roland World of Music
/
Roland - An Invitation To The Roland World Of Music.bin
/
vb
/
vb30
/
disk1
/
find1.fr_
/
find1.bin
Wrap
Text File
|
1993-04-27
|
3KB
|
119 lines
VERSION 2.00
Begin Form frmFind
Caption = "Find"
ClientHeight = 1395
ClientLeft = 2655
ClientTop = 3585
ClientWidth = 4950
Height = 1800
Left = 2595
LinkTopic = "Form2"
ScaleHeight = 1395
ScaleWidth = 4950
Top = 3240
Width = 5070
Begin Frame Frame1
Caption = "Direction"
Height = 612
Left = 1560
TabIndex = 3
Top = 720
Width = 2052
Begin OptionButton optDirection
Caption = "&Down"
Height = 252
Index = 1
Left = 960
TabIndex = 5
Top = 240
Value = -1 'True
Width = 852
End
Begin OptionButton optDirection
Caption = "&Up"
Height = 252
Index = 0
Left = 240
TabIndex = 4
Top = 240
Width = 612
End
End
Begin CheckBox chkCase
Caption = "Match &Case"
Height = 495
Left = 120
TabIndex = 2
Top = 720
Width = 1335
End
Begin TextBox Text1
Height = 375
Left = 1200
TabIndex = 1
Top = 240
Width = 2415
End
Begin CommandButton cmdcancel
Cancel = -1 'True
Caption = "Cancel"
Height = 372
Left = 3720
TabIndex = 7
Top = 600
Width = 1092
End
Begin CommandButton cmdFind
Caption = "&Find"
Default = -1 'True
Height = 372
Left = 3720
TabIndex = 6
Top = 120
Width = 1092
End
Begin Label Label1
Caption = "Fi&nd What:"
Height = 255
Left = 120
TabIndex = 0
Top = 240
Width = 975
End
End
Sub chkCase_Click ()
gFindCase = chkCase.Value
End Sub
Sub cmdcancel_Click ()
gFindString = Text1.Text
gFindCase = chkCase.Value
Unload frmFind
End Sub
Sub cmdFind_Click ()
gFindString = Text1.Text
FindIt
End Sub
Sub Form_Load ()
cmdFind.Enabled = False
gFindDirection = 1
End Sub
Sub optDirection_Click (index As Integer)
gFindDirection = index
End Sub
Sub Text1_Change ()
FirstTime = True
If Text1.Text = "" Then
cmdFind.Enabled = False
Else
cmdFind.Enabled = True
End If
End Sub